#@layout()

#define main()
<div class="container ">

    <div class="panel panel-default">
        <form action="/login" type="post" class="#(state=='fail'?'has-error':'') has-feedback">
            <div class="form-group">
                <label for="username">username</label>
                <input type="text" class="form-control" name="username" id="username" placeholder="Email"
                       style="color:#000000">
            </div>
            <div class="form-group">
                <label for="password">password</label>
                <input type="password" class="form-control" name="password" id="password" placeholder="Password"
                       style="color:#000000">
            </div>
            <label>#(errMsg)</label>
            <button type="submit" class="btn btn-primary btn-block">Submit</button>
        </form>
    </div>
</div>

#end
